package com.wolainfo.simulator.model.tfi;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Calendar;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
public class FundTransaction implements Serializable{
    private static final long serialVersionUID = -1557211023281197465L;
    @Id
    private Integer           fundTransactionId;
    private Integer           transactionId;
    private Integer           accountId;
    private String            product;
    private Integer           processingSeq;
    private String            fund;
    private String            shareClass;
    private Byte              tranSign;
    private BigDecimal        amount;
    private BigDecimal        externalAmount;
    private BigDecimal        shares;
    private BigDecimal        loadPercentage;
    private BigDecimal        load;
    private BigDecimal        fee;
    private BigDecimal        tax;
    @Temporal(TemporalType.TIMESTAMP)
    private Calendar          processDate;
    @Temporal(TemporalType.TIMESTAMP)
    private Calendar          priceDate;
    private Byte              status;
    private Integer           revFunTransactionId;
    private Integer           priceId;

    public Integer getFundTransactionId(){
        return fundTransactionId;
    }

    public void setFundTransactionId(Integer fundTransactionId){
        this.fundTransactionId = fundTransactionId;
    }

    public Integer getTransactionId(){
        return transactionId;
    }

    public void setTransactionId(Integer transactionId){
        this.transactionId = transactionId;
    }

    public Integer getAccountId(){
        return accountId;
    }

    public void setAccountId(Integer accountId){
        this.accountId = accountId;
    }

    public String getProduct(){
        return product;
    }

    public void setProduct(String product){
        this.product = product;
    }

    public Integer getProcessingSeq(){
        return processingSeq;
    }

    public void setProcessingSeq(Integer processingSeq){
        this.processingSeq = processingSeq;
    }

    public String getFund(){
        return fund;
    }

    public void setFund(String fund){
        this.fund = fund;
    }

    public String getShareClass(){
        return shareClass;
    }

    public void setShareClass(String shareClass){
        this.shareClass = shareClass;
    }

    public Byte getTranSign(){
        return tranSign;
    }

    public void setTranSign(Byte tranSign){
        this.tranSign = tranSign;
    }

    public BigDecimal getAmount(){
        return amount;
    }

    public void setAmount(BigDecimal amount){
        this.amount = amount;
    }

    public BigDecimal getExternalAmount(){
        return externalAmount;
    }

    public void setExternalAmount(BigDecimal externalAmount){
        this.externalAmount = externalAmount;
    }

    public BigDecimal getShares(){
        return shares;
    }

    public void setShares(BigDecimal shares){
        this.shares = shares;
    }

    public BigDecimal getLoadPercentage(){
        return loadPercentage;
    }

    public void setLoadPercentage(BigDecimal loadPercentage){
        this.loadPercentage = loadPercentage;
    }

    public BigDecimal getLoad(){
        return load;
    }

    public void setLoad(BigDecimal load){
        this.load = load;
    }

    public BigDecimal getFee(){
        return fee;
    }

    public void setFee(BigDecimal fee){
        this.fee = fee;
    }

    public BigDecimal getTax(){
        return tax;
    }

    public void setTax(BigDecimal tax){
        this.tax = tax;
    }

    public Calendar getProcessDate(){
        return processDate;
    }

    public void setProcessDate(Calendar processDate){
        this.processDate = processDate;
    }

    public Calendar getPriceDate(){
        return priceDate;
    }

    public void setPriceDate(Calendar priceDate){
        this.priceDate = priceDate;
    }

    public Byte getStatus(){
        return status;
    }

    public void setStatus(Byte status){
        this.status = status;
    }

    public Integer getRevFunTransactionId(){
        return revFunTransactionId;
    }

    public void setRevFunTransactionId(Integer revFunTransactionId){
        this.revFunTransactionId = revFunTransactionId;
    }

    public Integer getPriceId(){
        return priceId;
    }

    public void setPriceId(Integer priceId){
        this.priceId = priceId;
    }

}
